<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>权限管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 开发时，为了便于调试，增加了禁用缓存设置，上线时请删除 -->
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
<META HTTP-EQUIV="Expires" CONTENT="0"> 
<!-- 获取网站全路径：http://localhost:8080/agtsys/，一定要写全，某些版本浏览器只认全路径，ie8.. -->
<base href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getLocalPort()+request.getContextPath()%>/" />
<link rel="stylesheet" type="text/css"
	href="static/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="static/easyui/themes/icon.css" />
<script type="text/javascript" src="static/easyui/jquery.min.js"></script>
<script type="text/javascript" src="static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="static/easyui/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="static/js/common.js"></script>
<link href="static/css/permission.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="permission" class="container">
	<ul>
		<li class="jslist">
			<ul>
				<c:forEach items="${roles }" var="role">
					<li class="sidebar">
						<div id="sidebar">
							<a href="javascript:;" onclick="getFunctionsByRoleId(this,${role.id},'${ role.rolename}')">
								+${ role.rolename} </a>
						</div>
					</li>
				</c:forEach>
			</ul>
		</li>
		<li class="iframeli">
			<table id="permission_dg"></table>
		</li>
	</ul>
</div>
<script type="text/javascript" src="static/js/permission.js"></script>
</body>
</html>